package com.sq.swing.sample.service;

import java.util.List;

import com.sq.swing.sample.entity.JournalEntity;



public interface IJournalService {
	
	public void addJournal(JournalEntity journal);
	
	public void addJournalBatch(List<JournalEntity> list);

	public void deleteJournal(JournalEntity journal);
	
	public void deleteAllJournal();

	public void deleteJournalBatch(List<JournalEntity> list);

	public void updateJournal(JournalEntity journal);

	public JournalEntity getJournalById(String aid);
	
	public JournalEntity getJournalById(JournalEntity journal);

	public List<JournalEntity> getJournalList();

	public List<JournalEntity> getJournalList(JournalEntity journal);
	
}
